package fr.jcbm.client.game;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Panel;

public class JCBMHomePageWidget extends Composite {
	
	private static final String JCBM_HOME_TITLE = "Bienvenue dans JayCed Basketball Manager !!";
	
	private Panel rootPanel;
		private Label homeTitleLabel;
	
	public JCBMHomePageWidget() {
		rootPanel = buildRootPanel();
		
		initWidget(rootPanel);
	}

	private Panel buildRootPanel() {
		FlowPanel rootPanel = new FlowPanel();
		
		homeTitleLabel = new Label(JCBM_HOME_TITLE);
		rootPanel.add(homeTitleLabel);
		
		return rootPanel;
	}
}
